package com.hhu.userservice.service;

import com.hhu.userservice.object.dto.TeacherInfo;

import java.util.List;

public interface TeacherService {
    /**
     * create by: yaodao
     * description: 查询系统中的所有教师
     * create time: 2022/3/9 9:25 下午
     */
    List<TeacherInfo> queryAllTeachers();

    void addTeachers(List<TeacherInfo> teacherInfos);

    /**
     * 批量删除教师
     * @param teacherInfos
     */
    void deleteTeachers(List<TeacherInfo> teacherInfos);

    /**
     * 单笔更新教师信息
     * @param teacherInfo
     */
    void updateTeacher(TeacherInfo teacherInfo);
}
